body {
    background-image: url('../img/background.png');
    background-color: #F5F5F5;
    background-repeat: no-repeat; 
    background-position: left 50px;
}
.well {
	background-color: #FFF;
}

.btn-navbar {
	display: none;
}

.row-fluid [class*="span"] {
	min-height: 1px;
}

.real_apps .btn-navbar {
  display: none;
  padding: 7px 10px;
  margin-right: 5px;
  margin-left: 5px;
  color: #ffffff;
  float: right;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #ededed;
  *background-color: #e5e5e5;
  background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5);
  background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5);
  background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);
  background-repeat: repeat-x;
  border-color: #e5e5e5 #e5e5e5 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
}
.real_apps .btn-left {
	float: left;
}
.real_apps .btn-right {
	float: right;
}

.real_apps .btn-navbar:hover,
.real_apps .btn-navbar:focus,
.real_apps .btn-navbar:active,
.real_apps .btn-navbar.active,
.real_apps .btn-navbar.disabled,
.real_apps .btn-navbar[disabled] {
  color: #ffffff;
  background-color: #e5e5e5;
  background-image: linear-gradient(to bottom, #e5e5e5, #0088CC) !important;
  *background-color: #d9d9d9;
}

.real_apps .btn-navbar:active,
.real_apps .btn-navbar.active {
  background-color: #cccccc \9;
}

.real_apps .btn-navbar .icon-bar {
  display: block;
  
  height: 2px;
  background-color: #f5f5f5;
  -webkit-border-radius: 1px;
     -moz-border-radius: 1px;
          border-radius: 1px;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
     -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.real_apps .btn-menu {
	background-color: #0088CC !important;
    background-image: linear-gradient(to bottom, #0088CC, #0088CC) !important;
    background-repeat: repeat-x;
}
.real_content {
	padding-top: 64px;
}

.sidebar {
	padding-right: 15px;
	padding-left: 15px;
}
ul.thumbnails {
	margin-top:2.564102564102564%;*margin-top:2.5109110747408616%;
	margin-bottom:2.564102564102564%;*margin-bottom:2.5109110747408616%;
}

.thumbnails [class*="span"]:first-child {
    margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;
}

ul.nav-tabs > li.errors.active > a {
    background-color: #FFFFCC;
}

ul.nav-tabs > li.errors.active > a,
ul.nav-tabs > li.errors > a {
    color: red;
}

div.tab-content.errors {
	border-top-color: red;
    border-left-color: red;
    border-right-color: red;
}

.nav > li.errors > a:hover,
.nav > li.errors > a:focus {
	background-color: #EEEEEE;
}

.add-row .thumbnail {
	border-style: dashed;
	border-width: 2px;
	width: 160px;
}
.media .thumbnails > li {
	margin-left: 0;
}
.selector div,
.selector ul {
	float: left;
}
.selector h2 {
	font-size: 13px;
}
.selector .selector-filter {
	margin-left: 0;
	padding-left: 0;
}
.selector-chosen .selector-filter {
	margin-top: 15px;
	margin-bottom: 25px;
}

.selector .selector-chooser {
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 0;
}

.selector select {
	width: 241px;
	height: 17.2em;
}
.selector .selector-available a,
.selector .selector-chosen a {
	 display: table;
}

.selector ul.selector-chooser {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/chooser-bg.gif");
    background-origin: padding-box;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto auto;
    float: left;
    height: 50px;
    margin-bottom: 0;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 17em;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    width: 22px;
}

.selector-chooser li {
    list-style-type: none;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
}

.selector-add {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/selector-add.gif");
    background-origin: padding-box;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto auto;
    margin-bottom: 2px;
}
.selector-remove {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/selector-remove.gif");
    background-origin: padding-box;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto auto;
}

.selector-add, .selector-remove {
    display: block;
    height: 16px;
    overflow-x: hidden;
    overflow-y: hidden;
    text-indent: -3000px;
    width: 16px;
}

@media (max-width: 979px) {

	.real_content {
		padding-top: 0;
	}
	.real_apps .btn-navbar {
		display: block;
	} 
	.row-fluid .span7 {
		width: 95%;
	}

	#content-main .fc-header h2 {
		font-size: 15px;
	}

	.navbar-fixed-top {
	    margin-bottom: 20px;
	    position: static;
	}
	.navbar .nav > li > a {
	    padding-bottom: 4px;
	    padding-left: 12px;
	    padding-right: 12px;
	    padding-top: 4px;
	}
	.navbar .nav > li > a:focus, .navbar .nav > li > a:hover,
	.nav > li > a:hover, .nav > li > a:focus {
		background-color: #E6E6E6;
	}
	.navbar-inner {
		padding-left: 0;
		padding-right: 0;
	}
	.navbar .brand {
		margin-left: 30px;
	}
	.navbar .nav-buttons {
		padding-right: 18px;
	}
	.navbar .nav {
		margin-left: 10px;
	}
	.row-fluid .span9 {
		width: 100%;
	}
}

@media (max-width: 800px) {
	h4 {
		font-size: 15.5px;
	}
	.media .media-body .line-label .span5 {
		width: 28.171%;
		float: left;
	}
	.media .media-body .line-label .span7 {
		width: 57.265% ;
		float: left;
	}
	.submit-row a.btn-block {
		display: inline-block;
	}
	.submit-row .btn-large {
	    padding-bottom: 8px;
    	padding-top: 8px;
	}
}
@media (max-width: 768px) {
	/* Tablet portrait */
}

@media (max-width: 600px){
	.media-body .title,
	.content_title .span8 {
		width: 65.812%;
		float: left;
	}
	.content_title {
		margin-bottom: 10px;
	}
	#myTab li:first-child,
	#myTab li:first-child + li {
		width: 100px;
	}

	.thumbnails [class*="span"]:first-child,
	.tab-pane ul.thumbnails > li[class*="span"] {
		margin-left: 0;
		padding-left: 2.5641%;
		width: 180px;
	}

}

@media (max-width: 480px) {
	/* Mobile landscape */
	.media .media-body .pull-right,
	.media .media-body .pull-left {
		float: none;
	}
	.media-body .title {
		width: auto;
	}
}
@media (min-width: 320px) and (max-width: 600px) {
#myTab li:first-child + li + li,
#myTab li:first-child + li + li + li,
#myTab li:first-child + li + li + li + li {
	margin-top: 20px;
}
@media (max-width: 320px) {

	h4.media-heading {
		font-size: 13.5px;
	}
	.widget-table select {
		width: 155px !important;
	}
	.media .media-body .line-label .span7 {
		margin-left: 7px;
    	width: 66.265%;
	}

	.content_title .span8 {
		width: 61.812%
	}

	.content_template_tags {
		margin-top: 23px;
	}
}